package com.hxzy.module.back.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 中台药品关联秒杀表
 * @TableName back_drug_inner_seckill
 */
@TableName(value ="back_drug_inner_seckill")
@Data
public class BackDrugInnerSeckill implements Serializable {
    /**
     * 药品关联秒杀
     */
    @TableId
    private Long id;

    /**
     * 药品id
     */
    private Long drugId;

    /**
     * 秒杀id
     */
    private Long seckillId;

    /**
     * 秒杀价
     */
    private BigDecimal priceSpike;

    /**
     * 库存
     */
    private Integer limitStock;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}